#!user/bin/node


const argv=process.argv;

//code type is number
//code range>0

if(argv.length!==3){

  console.error('cmd exit-code');
  process.exit(1);
}
if(isNaN(Number(argv[2]))){
  console.log('argv must is Number');
  process.exit(2);
}
if(Number(argv[2])<=0){
  console.log('argv must >0 ');
  process.exit(3);

}

process.exit(argv);

